package com.cdp.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdp.common.core.domain.entity.SysWater;
import com.cdp.common.core.domain.entity.SysWaterReducer;
import com.cdp.system.dto.RawDTO;
import com.cdp.system.dto.WaterReducerDTO;
import com.cdp.system.dto.WaterReducerSecondDTO;
import com.cdp.system.vo.WaterReducerVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysWaterReducerMapper extends BaseMapper<SysWaterReducer> {


    List<SysWaterReducer> selectsWaterReducer(@Param("rawDTO")RawDTO rawDTO);

    Map<String, Object> getwaterReducerAndMax();

    List<SysWaterReducer> listMistedWaterReduce(WaterReducerDTO waterReducerDTO);


    List<SysWaterReducer> listWaterReduceIds(@Param("waterReducerIds") List<Integer> waterReducerIds);

    List<SysWater> selectWater(RawDTO rawDTO);

    List<SysWaterReducer> listAdditiveMistedWaterReduceSeconed(WaterReducerSecondDTO waterReducerSecondDTO);
}
